Added configuration for returning JSON from webservices