Changed GET into POST; now JSON output