Use Collection+JSON library.