Nested resources are now serielized correctly.