Fix list building for custom resources.
This fixes issue #1087. Custom resources cannot be deserialized with the
standard Kubernetes JSON parser because it doesn't know about them.
Since all items are JSON anyway, we can just use text concatenation
anyway.