Add "current_page" param to JSON when retrieving posts

Add "current_page" param to JSON when retrieving posts. My text editor removes spaces in the end of lines when saving it. That's why so many insertions/deletions. The real change is in the line 316.