mattdrayer/api-serialize-content-fix: Addressed id/key issue

@Kelketek @antoviaque -- I've cleaned up courses/views a bit, especially the _serialize_content method -- give it a look and let me know if it resolves your issues with course identifiers.