built json-ready hash creator for results
created result array cacher
encountering strange end-error