Refactor, iterate through obj in an improved way
More refactor, handle params, add large json test file