Conversion to mongoose schemas works now