Making the record mapping more precise

    Now the record mapping takes into account the request body content when
saving the mapping.