[fix] collection toJSON