def process_subscription_data(post_data):
    """Process the subscription data according to out model"""
    subscription_data = post_data.pop('subscription', {})
    keys = subscription_data.pop('keys', {})
    subscription_data.update(keys)
    subscription_data['browser'] = post_data.pop('browser')
    return subscription_data
