Created a new JSON-Encoder that will be used by REST services.