Add front matter read/write API to parse_source_file.js
See the related planning issue for additional context:
#233472 (closed)