Updated xml controller to produce real xml and fixed how recipes were not storing data correctly