Refactored document json into a separate file