Prepares an array to be put in a file. Very useful for configuration files.