Implement geters and seters for php object members
write test for php object decoding