JSON was being returned not echoed
JSON was being returned not echoed