Handle multiple type declarations; do not quote anonymous resources.
Ahem, no namespaces unless part of an anon resource; do not quote strings, unless part of an anon resource; remember colon must follow property name.