Enhancements to interpreter. Use test method to generate schema until JSON parsing is added.