add JSON libs, add default application/json and application/xml