grab bag of updates / fixes

builder tests
json pretty printing
b_types