Added supported for unconnected data flows and fixed keys with function expressions

Fixed serialization for special keys
Reusing object in key deserialization
Cleanup