add in a json api

can't seem to get my podio config working locally, but this should work