fixed tabs, changed the code so that both return values and JSON response work on POST, changed README