Ability to override json serialization.