using Oj gem instead of json, but output is not as expected...