match json encoding to default schema encoding