removing meta data from return object