Use rack-contrib gem for handling JSON POST requests