changed default rest format to json