Do you know if PHP serialize() guarantees that it will serialize array keys in the same order every time?  You're relying on the serialized key 'source' coming immediately before the serialized key 'sourceId'.  Can you be sure that will always happen?