Bug fix for query result. Added examples of using dynamic objects and creating parent-child relationships.