Added array conversion to JsonEntity.