now we have a post that takes a JSON object and returns a JSON object