Finally got that stupid nested resources shit to work