Fixed Formatting Issues

Fixed formatting issues when showing the type associated with the BSON
element in JSON output.