first try at json unmarshalling including basic test code