Align api to reflect new_record usage

This aligns usage of the ejson tuple between new_record and ejson_for_indexing.