Add toJSON instance to hashdata