Seems like chaining with a JsonImporter would avoid duplicated code.