switch echo/json from post to get