changing api catalogue POST to return object