Datagraph 311: Serialization of Query Results and Entities

@jexp - as discussed, initial Serialization approach provided in this PR. Let me know what you think