more work on world to/from json