added retrieve and getter methods for the json schema
comment added
review considered
review considered and function moved to the right place
typeof changed with instanceof
Merge pull request #2 from Work4Labs/tdalous/EXP-351/retrieve_json_schema

Tdalous/exp 351/retrieve json schema