Added deserialization support
Added ability to flatten child object relationships