Add oj to gemspec
Add parsing detects file or string
Refactor the code
Add encoding
Check parsing and encoding have same value