allow ProjectSerializer to gracefully handle empty project_contents

Serialize '{}' when the project doesn't have any project contents.