changing to standard reprs

changes:

 * using bracket notation as per the python data model
 * outputting byte strings on python2, unicode strings on python3