Parse pairs instead of lists