use PlayN.json() for client side and org.json for server side