fix #557
API calls on occupation took a long time because there were nested relationships. This PR is trying to reduce the number of queries executed on serializer. there is another way to optimize by refactoring the api view calls to the db, I create a separate ticket for that #585
fix #557
API calls on occupation took a long time because there were nested relationships. This PR is trying to reduce the number of queries executed on serializer. there is another way to optimize by refactoring the api view calls to the db, I create a separate ticket for that #585