Sets the default format for the api to be json, solves #11