Fix error in turning json into documentation