Use tastypie serializer rather than raw yaml.load()

Thanks to @nedbat for rolling his eyes appropriately about using yaml.load().
Merge pull request #1418 from paulproteus/load-yaml-safely

Use tastypie serializer rather than raw yaml.load()