Removed second parameter from json_encode. Old PHP issues.