Nested resource serialization

If a resource contains one or more resources within it's resourceProperties, these will be serialized to.

No tests added