Adding JSON to API