add reading json files from disk

add one stupid test for inputs (which needs more work but illustrates how it could look like)