added booleans to mustache document for removing useless null fields