be & be-asp: generate pretty json automatically