Added a json option to post
whitespace fix