Add methods + tests to bring back value objects from JSON

Change-Id: I2ea23c06c8c76468f965dc7dbbeedd9f5d2f319a