format option added for get requests