Put Page#as_json into its own module so it can be overridden in other modules
v1.0.3