Proper Cors with CorsSupport trait.
Parse incoming JSON.