sketching out json based BOM system