Rename writeJSON() to getJSON()

Signed-off-by: Simone <hello@simonewebdesign.it>