respond as json to all types
clean up params to exclude rails defaults for api calls