using simple json files to validate logic