Adding format, isJson and wantsJson methods in Request section