examples: Added a RethinkDB/JSON example
Added full support for JSON and YAML files.