allow GET /api/posts endpoint to be filtered by user_id
always return application/json content type header