working $ref pointer replacement

It's dirty but the code can 1) access the JSON Schema file, 2) decode
the JSON from the schema file and place it in a string, 3) traverse the
array and locate any references at least 1 level deep, 4) access the
JSON Schema file pointed to by the reference, 5) replace the ref
pointer with the decoded JSON Schema.