Improve keys emitting.
Fix bug with variables parsing.
Fix streamline output.