Also add JSON and YAML serialization options which are useful for hashes and arrays