Switched to pointers. Allows for proper validation and removed strange errors for non required missing JSON.