allow json as a serialization format