simple lua writer
add unit test
escape sequences