Added header and footer to json formatter
Removed traces of _RM_HASH_LEN