fix play json writes