creating standard json model for http requests