fixing post to POST json objects