Add alternative constructor functions for varargs. Rename .json extension properties to .js