Is this tested? writeField writes the named field, eg useMipMaps is a boolean and doesn't have a field "useMipMaps". Use writeValue. If you know the types are primitive or string, I believe you can drop down to using the JsonWriter directly, which is a bit more efficient.