upres for release
added ways to convert the record and objects to JSON