DB IDO: Dump custom attributes as json encoded arrays/dictionaries; add 'is_json' column

refs #7560