Migrating to JSONlib