Add support for empty list as an atom
Use better approach for emitting empty list