Proposal: Resource Relations and Inline Writes

I propose we standardize on inline resources for write operations in plain JSON. This pull request lays out the basics of the proposal.