changes to application/json
Added some ad hoc queries for batch processing