Cleaned up some type registration issues on GCC
Fixed warnings in JsonDecoder