json test code now creates a user mapping from the user id to the node id (index of user data)