Api endpoints now return json propers.