Added support to json on Request class