getting the json return working, doesn't like put