added libs and added conversion json to record