Hello Marius,
Thanks for your response!
I tried the solution given by you. It didn't work. But after tweaking it a bit, I finally arrived at the solution, and it did work. It is:
{
"from": "now/M-1M",
"to": "now-1M/M",
"display": "Last Month (Custom)",
"section": 1
}