Support inter-page JSON references

Doesn't quite adhere to the JSON Reference draft spec. WIP.

Change-Id: I2b5aae432d8f8259d0bc170f69f363faa5dc27b1