refactoring (removed all .json/.rb format code now everything is .json)