added freemem value to json output so that free memory can be monitored by router