add entities and joints file to return a map of entities or joints - closes #74