fixed [] and {} JSON content processing into BSON