getting brdjson conversion working (initial version, doesn't support everything, but has most of the key points)
: