Fixed json response for submit POST
Merge pull request #20 from TeamWhat/json-response-fix

Fixed json response for submit POST
Fix calculations