Adding response size to the json output