Tests: Add JSON format tests
JSON: Dump current untis content instead of file

Previous implementation returned the content of file on disk, not
the content of the JsonFile object. Have in mind that after being
parsed it can be altered in memory.
UDNO