properly send json requests
README now shows how to do json requests