Parse linux top command output to JSON format.