Converting an expression to a specific form with Symbolics.jl

I would like to convert an expression to a specific mathematical form. Is this possible to do with Symbolics.jl (or any other package for that matter)? Specifically I would like to convert an arbitrary transfer function G(s) to a polynomial form: G(s) = Y(s)/X(s) where Y(s) and X(s) are polynomials. I would essentially get the coefficients for these polynomials.