Added IJsonService, refactored service and module code, added logging to JsonService