adding missing fields to JSON de/serialization