updated gemfile.lock
additional spec for nested array and hash
refactoring